﻿<%@ page language="java" contentType="text/html;charset=utf-8"
	pageEncoding="utf-8"%>

<%@ include file="/core/taglibs2.jsp"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/core/adminTopMeta.jsp"%>
 

</head>

<body oncontextmenu="return false"><div class="loader"></div>
	<div class="row">
		<div class="col-md-12">
			<div class="panel">
				<div class="panel-heading text-primary">
					<h3 class="panel-title">
						<i class="fa fa-home"></i> 管理平台首页 
						<span class="pull-right">
							<div class="btn-group code">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown"
									title="Classes used"> </a>

							</div> 
						</span>
					</h3>
				</div>
				
				<!-- /panel body -->
			</div>
		</div>
		<div class="col-md-12">
			<div class="panel panel-primary">
				<div class="panel-heading">
					<h3 class="panel-title  text-white" style="font-size: 17px;">
						管理员账号信息 
					</h3>
				</div>
				<div class="panel-body">
					<div class="table-responsive">
					<table class="table table-bordered table-hover table-striped display" id="example">
						<thead>
 
							<tr height="50">
								<th style="text-align:right">代理商帐号：</th>
								<th style="text-align:left">
									<span style="color:blue;font-weight:bolder;">${mg.loginName}</span>
								</th>
								
								<th style="text-align:right">上次登录时间：</th>
								<th style="text-align:left">
									<span style="color:blue;font-weight:bolder;">
										<fmt:formatDate value="${mg.lastTime}" type="date" pattern="yyyy-MM-dd HH:mm:ss" />
									</span>
								</th>
								
								<th style="text-align:right">登录次数：</th>
								<th style="text-align:left">
									<span style="color:blue;font-weight:bolder;">${mg.loginNum}</span>
								</th>
								
								 
							</tr>
							<tr height="50">
							
								<th style="text-align:right">未处理留言：</th>
								<th style="text-align:left">
									 
									<a href="<%=basePath%>/admin/info/messageList.shtml" target="frmright" style="color:red;font-weight:bolder;font-size: 20px;">
										${messageNum}(查看)
									</a>
								</th>
							
							
								<th style="text-align:right">未处理提现：</th>
								<th style="text-align:left">
									 
									 <a href="<%=basePath%>/admin/ti/logTiList.shtml" target="frmright" style="color:red;font-weight:bolder;font-size: 20px;">
										${tiNum}(查看)
									</a>
								</th>
								
								
								<th style="text-align:right"></th>
								<th style="text-align:left">
									<a href="<%=basePath%>/admin/member/memberNoActiveList.shtml" target="frmright" style="color:red;font-weight:bolder;font-size: 20px;">
										${memberNum}(查看)
									</a>
								</th>
								
								 
							</tr>
						</thead>
						 
					</table>
					</div>
				</div>
			</div>
			<!-- / Info Panel -->
			 
		</div>
		<div class="col-md-12">
			<div class="panel panel-danger">
				<div class="panel-heading">
					<h3 class="panel-title  text-white" style="font-size: 17px;">
						最新公告
					</h3>
				</div>
				<div class="panel-body">
					<div class="table-responsive">
					<table class="table table-bordered table-hover table-striped display" id="example">
						<thead>
 
							<tr class="danger">
								 
								<th style="width:60%;text-align: center;">标题</th>
								<th style="text-align: center;">作者</th>
								<th style="text-align: center;">发布时间</th>
								 
								<th style="text-align: center;">公告查看</th>
							</tr>
						</thead>
						<tbody>
					<c:forEach items="${noticeList}" var="o">
							 
							<tr>
								 
								<td style="text-align: center;">
									${o.title}
								</td>
								<td style="text-align: center;">${o.admin.title}</td>
								<td style="text-align: center;"> 
								<fmt:formatDate value="${o.commitDate}" type="date" pattern="yyyy-MM-dd HH:mm:ss" />
								</td>
								 
								<td style="text-align: center;">
									<a href="admin/info/noticeShow.shtml?id=${o.id}">
										<span class="icon_view">查看</span>
									</a>
								</td>
							</tr>
					</c:forEach>		 
						</tbody>
					
						 
					</table>
					</div>
				</div>
			</div>
			<!-- / Info Panel -->
			 
		</div>
		 <div class="col-md-12">
		<div class="panel panel-primary">
			<div class="panel-heading">
				<h3 class="panel-title  text-white" style="font-size: 17px;">
					最新提现

				</h3>
			</div>
			<div class="panel-body">
				<div class="table-responsive">
					<table class="table table-bordered table-hover table-striped display" id="example">
						<thead>

						<tr class="info">
							<th style="text-align: center;">代理商账号</th>

							<th style="text-align: center;">提现金额</th>
							<th style="text-align: center;">手续费</th>
							<th style="text-align: center;">实付金额</th>

							<th style="text-align: center;">提交时间</th>
							<th style="text-align: center;">状态</th>


							<th style="text-align: center;">操作</th>

						</tr>
						</thead>
						<tbody>
						<c:forEach items="${logMoneyTiList}" var="o">

							<tr class="odd gradeX">
								<td>${o.memberLoginName}</td>


								<td>${o.num}</td>
								<td>${o.fei}</td>
								<td><font color="red">${o.shi}</font></td>

								<td>${o.tiDate} </td>

								<td>
									<c:if test="${o.state==10}"><span style="color: red">未处理</span></c:if>
									<c:if test="${o.state==20}">已批准</c:if>
									<c:if test="${o.state==30}">已拒绝</c:if>
								</td>


								<td>
									<c:if test="${o.state==10}">
										<a href="admin/ti/logTiShow.shtml?id=${o.id}&pageNum=${pageNum}">查看/审核</a>
									</c:if>
									<c:if test="${o.state!=10}">
										<a href="admin/ti/logTiShow.shtml?id=${o.id}&pageNum=${pageNum}">查看详情</a>
									</c:if>
								</td>

							</tr>
						</c:forEach>
						</tbody>


					</table>
				</div>
			</div>
		</div>
		<!-- / Info Panel -->

	</div>
		<!-- /col-md-12 -->
		
		 
		
	</div>
	<!--代码高亮end-->
	
	
	
	
</body>
</html>